﻿package net.pezzato.genetree.graphics {
	/**
	 * ...
	 * @author Alessandro Pezzato
	 */
	import net.pezzato.graphics.Widget;
	import net.pezzato.genetree.info.GeneNode;
	public class Lens extends Widget {
		private var zoom_:Number;
		public function Lens(wp:Widget) {
			super(wp, "Lens");
			zoom_ = 1;
		}
		public function set zoom(zoom:Number):void {
			zoom_ = zoom;
			scaleX = zoom_;
			scaleY = zoom_;
		}
		public function get zoom():Number {
			return zoom_;
		}		
	}
}